function saveThumb() {
    $.ajaxFileUpload({
        url: "/admin/expert/upload_image",
        secureuri: false,
        fileElementId: "upload_file",
        dataType: "json",
        data:{_token:$("#_token").val()},
        success: function(data, status) {
            if(data.success){
                $("#photo").val(data.photo);
                $("#thumb").attr("src", data.photo);
                alert("添加成功");
            }else{
                alert(data.msg);}
        }
    })
}
